﻿#region Imports
using CommonUtilities.Extensions;
#endregion Imports

namespace SeriesEpisodeMapper.Models
{
    public class DelimeterInfo
    {
        #region Properties
        public string Delimeter { get; set; }
        public string DelimeterHint { get; set; }
        public string Description { get; set; }
        public string DisplayText
        {
            get { return ("{0}" + (!Delimeter.IsNullOrEmpty() ? " ({1})" : "")).FormatTextFromParams(Description, DelimeterHint.Coalesce(Delimeter)); }
        }
        #endregion Properties
    }
}
